import request from '@/utils/request'
// 品质看板-检验单据统计
export function GetInspecAPI(params) {
  return request({
    url: '/quality/QualityKanBan/inspectionDocumentStatistics',
    method: 'GET',
    params
  })
}

// 品质看板-48小时内检验单据信息
export function GetHoursInfoAPI(params) {
  return request({
    url: '/quality/QualityKanBan/inspectionHoursInfo',
    method: 'GET',
    params
  })
}

// 品质看板-待操作单据统计
export function GetdocumentStaticsAPI(params) {
  return request({
    url: '/quality/QualityKanBan/documentStatics',
    method: 'GET',
    params
  })
}

// 品质看板-近7天合格率趋势
export function GetsevenDayYieldAPI(params) {
  return request({
    url: '/quality/QualityKanBan/sevenDayYield',
    method: 'GET',
    params
  })
}

// 品质看板-近30天前五大不良
export function GettopFiveBadAPI(params) {
  return request({
    url: '/quality/QualityKanBan/topFiveBad',
    method: 'GET',
    params
  })
}
